<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>guava+redis+db 本地缓存+分布式缓存策略</title>
    <style>
    </style>
</head>
<body>


<table class="position" border="1">
    <tbody>
    24小时热门职位
    </tbody>
    <tr>
        <th>职位</th>
        <th>薪资范围</th>
        <th>发布时间</th>
        <th>所属企业</th>
        <th>职位标签</th>
    </tr>
    <tr th:each="p,i:${positions}" th:class="${i.odd} ? 'odd' : 'event'">
        <td th:text="${p.name}">职位名称</td>
        <td th:text="${p.salary}">薪资范围</td>
        <td th:text="${p.createTime}">发布时间</td>
        <td th:text="${p.company}">发布企业</td>
        <td th:text="${p.tag}">职位标签</td>
    </tr>
</table>
</body>
</html>
